
Instructions for using the Casual Gameplay Design Competition .swc library to compile your game with. You will need to follow these instructions to include the API calls in your AS 3.0 game.

1) In the Flash authoring tool installation folder, under Configuration\Components, create a new folder named Cgdc. (On Windows XP, the default location for Configuration\Components is: C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Components. On Mac OS X, the default location for Configuration\Components is: Macintosh HD:Applications:Adobe Flash CS3:Configuration:Components). 

2) Copy the cgdc.swc file to the Cgdc folder created in the previous step. Copying the cgdc.swc file to a subfolder of Configuration\Components adds it to the Flash authoring tool's Components panel. 

3) In the Flash authoring tool, open Components panel (Window Components).

4) Select the pop-up Options menu in the top-right corner of the Components panel, and choose the Reload option. The folder Cgdc will appear in the Components panel. 

5) In the Components panel, open the Cgdc folder. 

6) Drag the Cgdc component from the Components panel to your game's Library. 

7) Make sure you import the package in your code:
import com.casualgameplay.cgdc.*

Calls to the GameManager should now compile without error.